//
//  ConnectModel.h
//  网络封装
//
//  Created by 杨利佳 on 15/5/7.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ConnectModel : NSObject<NSURLConnectionDataDelegate>

@property (nonatomic, retain) NSMutableData *receiveData;

@property (nonatomic, copy) void (^finishedBlock)(NSData *data);

+ (void)connectWithUrl:(NSString *)url block:(void (^)(NSData *data))block;


@end
